#include "MyVector.h"
#include "MyList.h"

int main() {
	my::list<int> l1{ 1,2,3,4,5,6,7,8,9 };
	my::vector<int> v1{ 1,2,3,4,5,6,7,8,9 };
	for (auto r_it = l1.rbegin(); r_it != l1.rend(); ++r_it) {
		std::cout << *r_it << ' ';
	}
	std::cout << '\n';
	for (auto r_it = v1.rbegin(); r_it != v1.rend(); ++r_it) {
		std::cout << *r_it << ' ';
	}
	std::cout << '\n';
	return 0;
}